<!doctype html>
<!--[if lt IE 7 ]><html class="ie6"><![endif]-->
<!--[if IE 7 ]><html class="ie7"><![endif]-->
<!--[if IE 8 ]><html class="ie8"><![endif]-->
<!--[if IE 9 ]><html class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html> <!--<![endif]-->
	<head>
		<title>Title</title>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
        <script>
            function onmessage (e) {
                document.getElementById("message").innerHTML = ["<b>",e.origin,"</b>said:","<b>",e.data,"</b>"].join(" ");
            };
            if (window.addEventListener) {
                window.addEventListener("message",onmessage,false);
            }else if(window.attachEvent) {
                window.attachEvent("onmessage",onmessage);
            }
        </script>
	</head>
	<body>
    <b>This file is located on <script>document.write([location.host,location.port?location.port:80].join(":"))</script></b>
    <hr/>
    <div id="message">waiting message...</div>
	</body>
</html>

